Infinity-Read-Map names a function, with lambda list (D U R):
Get the positions of badges and named locations on the map.
Lisp READ-MAP = JSON readMap
This command requires no parameters.
This returns two lists, a list of named places, and a list of badge places. These make up the map of Tootanga.
{ from: "readMap", status: true, spots: [ TootSquare: [ 0, 0, 0, "CHOR", "Toot Square" ], ... ], badges: [ ... ] }
The lists spots and badges each consist of a set of monikers or labels as keys.
The values of each key on spots are the latitude, longitude, altitude, world, and UI label for that spot.
The values of each key on badges are only a latitude, longitude, altitude, and world. The moniker itself represents the badge.
An SVG graphic for each badge should be found on Jumbo in the form https://jumbo.tootsville.org/Assets/Badges/5/BADGE-NAME.svg.
A Spot, or a Named Place, associates a moniker with a text label and a position on the map. These can be used by certain operator commands, or by users, and basically represent what used to be rooms in earlier versions of Tootsville. We are trying to enforce the use of the name “spot” to mean a named place to limit the relative confusion with Places found within the game world, such as cobblestone paths.
A Badge represents a graphic that appears on the Map App on the Tootnix Mobile phone. These are usually magnets indicating a special event, or a visit by a special character, at that location. Little Reminders mice will be used to draw the players' attention to these badges in order to garner attention to special events.
Defined in file src/infinity/new-commands-20.lisp.